//FileName: Users.ts
import {DbDataType} from "@ctsy/model"
/**
* (建议在此写上字段与类型，方便查阅)
*   账号编号 UID bigint(20)
*	账号 Account varchar(50)
*   密码 PWD varchar(50)
*	姓名 Name varchar(50)
*	电话 Phone varchar(50)
*   性别 Sex tinyint(1)
*/
export default {
    UID: {
        type: DbDataType.bigint,
        primaryKey: true,
        autoIncrement: true,
        allowNull: false
    },
    Account: {
        type: DbDataType.varchar
    },
    PWD: {
        type: DbDataType.varchar
    },
    Name: {
        type: DbDataType.varchar
    },
    Phone: {
        type: DbDataType.varchar
    },
    Sex:{
    	type:DbDataType.tinyint
    }
}